package com.gzbsoft.sc.modules.sys.dao;
import com.gzbsoft.sc.modules.sys.entity.SysUserToken;
import org.springframework.data.ebean.annotation.Query;
import org.springframework.data.repository.query.Param;
import org.springframework.stereotype.Repository;
@Repository
public interface SysUserTokenDao extends BaseDao<SysUserToken, Long> {
    @Query(nativeQuery = true, value = "select * from sys_user_token where token =:token")
    SysUserToken queryByToken(@Param("token") String token);
}
